﻿/**
 * 文章
 */

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using FoodRaidersWebAPI.domainnew.Comment;
using FoodRaidersWebAPI.domainnew.other;

namespace FoodRaidersWebAPI.domainnew.Article
{
    public class Article
    {
        [Key]
        public int ArticleID { get; set; }//文章id
        public int PraiseNumber { get; set; }//点赞数
        public int FavoriteNumber { get; set; }//收藏数
        public DateTime DateTime { get; set; }//发布时间
        public List<ArticleComment> ArticleComments { get; set; }//评论
        public List<Picture> Pictures { get; set; }//图片线性表
    }
}